package com.lsl.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lsl.common.utils.PageUtils;
import com.lsl.gulimall.product.entity.CategoryBrandRelationEntity;
import com.lsl.gulimall.product.vo.response.BrandOutVo;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author liushengli
 * @email sunlightcs@gmail.com
 * @date 2021-03-14 17:27:57
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryBrandRelationEntity> getCategoryByBrandId(Long brandId);

    void saveCategoryBrandRelationEntity(CategoryBrandRelationEntity categoryBrandRelation);

    List<BrandOutVo> getBrandsRelationByCatId(Long catId);
}

